﻿<UserControl x:Class="ImotionTv.Silverlight.UI.TemplateTest"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:ImotionTv="clr-namespace:ImotionTv.Silverlight.UI.Controls;assembly=ImotionTv.Silverlight.UI.Controls"
    Width="800" Height="600">
    <Grid x:Name="LayoutRoot" Background="Black" ShowGridLines="True">
        <!-- Définition de la grille -->
        <Grid.RowDefinitions>
            <RowDefinition Height="300"></RowDefinition>
            <RowDefinition Height="300"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="400"></ColumnDefinition>
            <ColumnDefinition Width="400"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <!-- Contenu de la grille -->
        <ImotionTv:Ad Grid.Row="0" Grid.Column="0" Width="300" Height="200"></ImotionTv:Ad>
        <ImotionTv:AdTest Grid.Row="1" Grid.Column="0" Width="300" Height="200"></ImotionTv:AdTest>
        <ImotionTv:Ad Grid.Row="0" Grid.Column="1" Width="80" Height="60"></ImotionTv:Ad>
        <ImotionTv:AdTest Grid.Row="1" Grid.Column="1" Width="80" Height="60"></ImotionTv:AdTest>
    </Grid>
</UserControl>
